{eval 
    function login_simple_template() {
        $static_path  = get_static_path();
        $site_url = get_site_url();
        $params = get_params();
        $custom_style = get_custom_style('pc');
        $login_captcha = get_params('login_captcha');        
}
<!--{block return}-->
<style>
#lsform .y.pns{
    display: none;
}
.discuz-vp-container{
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
}
.discuz-vp-container .vp-mask{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: #000000;
    opacity: 0.5;
    -webkit-opacity: 0.5;
    -moz-opacity: 0.5;  
    filter:alpha(opacity=50);
}
.discuz-vp-container .vp-content, .discuz-vp-container .vp-header{
    position: relative;
    width: 400px;
    margin: 0 auto;
}
.discuz-vp-container .vp-header{
    /* margin-top: 15%; */
    line-height: 30px;
    background: #212B39;
    padding-left: 10px;
    color: #fff;
    box-sizing: border-box
}

@keyframes bounceDelay {
    0%,
    80%,
    to {
        transform: scale(0)
    }
    40% {
        transform: scale(1)
    }
}
.discuz-vp-container .vp-content{
    height: 230px;
    background: #fff;
    position: relative;
}
.discuz-vp-container .vp-content .loading {
    padding-top: 25%;
    position: absolute;
    width: 100%;
    height: 100%;
    background: #fff;
    text-align: center;
    box-sizing: border-box;
}
.discuz-vp-container .vp-content .loading span {
    width: 10px;
    height: 10px;
    background-color: #347eff;
    border-radius: 50%;
    display: inline-block;
    animation: bounceDelay 1s infinite ease-in-out;
    animation-fill-mode: both;
    margin-left: 4px;
}
.discuz-vp-container .vp-header a{
    float: right;
    padding-right: 10px;
    color: #404955;
}
{$custom_style}
</style>
<div class="y v-login-simple">
    <table cellspacing="0" cellpadding="0">
        <tbody>
            <tr>
                <td>
                    <span class="ftid">
                        <label for="" class="z psw_w">{lang phone_auth:account}</label>
                    </span>
                </td>
                <td>
                    <input placeholder="{lang phone_auth:account_placeholder}" type="text" name="user" id="ls_username" autocomplete="off" class="px vm" tabindex="901">
                </td>
                <td class="fastlg_l">
                    <label for="ls_cookietime">
                        <input type="checkbox" name="cookietime" id="ls_cookietime" class="pc" value="2592000" tabindex="903">{lang login_permanent}</label>
                </td>
                <td>&nbsp;
                    <a href="javascript:;" onclick="showWindow('login', 'member.php?mod=logging&action=login&vlostpwd=1')">{lang forgotpw}</a>
                </td>
            </tr>
            <tr>
                <td>
                    <label for="ls_password" class="z psw_w">{lang login_password}</label>
                </td>
                <td>
                    <input type="password" placeholder="{lang login_password}" name="password" id="ls_password" class="px vm" autocomplete="off" tabindex="902">
                </td>
                <td class="fastlg_l">
                    <button type="submit" class="pn vm login-btn" tabindex="904" style="width: 75px;">
                        <em>{lang phone_auth:login}</em>
                    </button>
                </td>
                <td>&nbsp;
                    <a href="member.php?mod=register" class="xi2 xw1">{lang phone_auth:register_link}</a>
                </td>
            </tr>
        </tbody>
    </table>
    <input type="hidden" name="quickforward" value="yes">
    <input type="hidden" name="handlekey" value="ls">
</div>
{if $login_captcha == '1'}
<div id="popup_vaptcha" class="discuz-vp-container">
    <div class="vp-mask"></div>
    <div class="vp-header">{lang phone_auth:popup_vaptcha_title}<a href="https://www.vaptcha.com" target="_blank">{lang phone_auth:popup_vaptcha_link}</a></div>
    <div class="vp-content">
        <div class="loading"><span style="animation-delay: -.32s"></span><span style="animation-delay: -.16s"></span><span></span></div>
    </div>
</div>
{/if}
<script src="{$static_path}/js/v-helper.min.js?v=$params['version']"></script>
<script>
     (function login_run() {
        if(window.v_helper) {
            new v_helper({
                'vid': "$params['vid']",
                site_url: '{$site_url}'
            }).login_simple_run({
                id: '$id',
                login_captcha: {$login_captcha},
                lang: {
                    send_code: '{lang phone_auth:send_code}'
                }
            });
        } else {
            setTimeout(login_run);
        }
    })()
</script>
<!--{/block}-->
{eval return $return;}
{eval }
}